Fix Semantic tag discovery when loading of unloaded files is suppressed
authorPo Lu <luangruo@yahoo.com>
Fri, 5 Apr 2024 02:39:33 +0000 (10:39 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 5 Apr 2024 02:39:33 +0000 (10:39 +0800)
commit3968b36ae0641e929426991028b49ce66a15af5f
tree6df8452f6ec29a5cfb6237495d301f7e349e2860
parent21f9be005318dcc58918884fc3c24d7d75562e96
Fix Semantic tag discovery when loading of unloaded files is suppressed

* lisp/cedet/semantic/db-find.el
(semanticdb-find-tags-by-name-method)
(semanticdb-find-tags-by-name-regexp-method)
(semanticdb-find-tags-for-completion-method)
(semanticdb-find-tags-by-class-method)
(semanticdb-find-tags-external-children-of-type-method)
(semanticdb-find-tags-subclasses-of-type-method)
(semanticdb-deep-find-tags-by-name-method)
(semanticdb-deep-find-tags-by-name-regexp-method)
(semanticdb-deep-find-tags-for-completion-method): Verify that
tags is bound before accessing it; this slot is unbound in
tables created for unloaded files when the `unloaded' throttle
is disabled.
lisp/cedet/semantic/db-find.el